package com.jinmdz.fmis.api.admin.model.loungehome;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import com.jinmdz.fmis.dao.model.dictionary.DataDictionaryItem;
import com.jinmdz.fmis.dao.model.dictionary.ServiceDictionaryRuleItem;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * 休息室加载列表项
 *
 * @author SunZhaoQi
 * @date 2020/8/24 13:22
 */
public class LoungeHomeLoadData extends BaseBean {
    /**
     * 休息室信息
     */
    @AnValidate(name = "休息室信息")
    @ApiModelProperty(value = "休息室信息", name = "hall", position = 1)
    private LoungeHomeSaveData loungeHome;

    /**
     * 字典数据
     */
    @AnValidate(name = "字典数据")
    @ApiModelProperty(value = "字典数据", name = "dicts", position = 2)
    private HashMap<String, ArrayList<DataDictionaryItem>> dicts;

    /**
     * 业务服务字典规则
     */
    @AnValidate(name = "业务服务字典规则")
    @ApiModelProperty(value = "业务服务字典规则", name = "ruleItems", position = 3)
    private ArrayList<ServiceDictionaryRuleItem> ruleItems;

    public LoungeHomeSaveData getLoungeHome() {
        return loungeHome;
    }

    public LoungeHomeLoadData setLoungeHome(LoungeHomeSaveData loungeHome) {
        this.loungeHome = loungeHome;
        return this;
    }

    public HashMap<String, ArrayList<DataDictionaryItem>> getDicts() {
        return dicts;
    }

    public LoungeHomeLoadData setDicts(HashMap<String, ArrayList<DataDictionaryItem>> dicts) {
        this.dicts = dicts;
        return this;
    }

    public ArrayList<ServiceDictionaryRuleItem> getRuleItems() {
        return ruleItems;
    }

    public LoungeHomeLoadData setRuleItems(ArrayList<ServiceDictionaryRuleItem> ruleItems) {
        this.ruleItems = ruleItems;
        return this;
    }
}
